let DEFECT = {
	DEFKEY: "Process_defect_eqpDefect_V1",
	FORMKEY: 'sbqxxxgl',
}

/**
 * 获得流程定义的key
 */
export function getFlowKey(){
	let flowKey = {
		defKey: DEFECT.DEFKEY,
		formKey: DEFECT.FORMKEY
	}
	return flowKey
}

/**
 * 流程初始字段设置
 */
export function getBaseData(){
	// 不可见字段
	let disableData = [
		"app_fold",
		"app_accept",
		"app_change",
		"oldReasonAnalysis",
		"oldTreatmentMeasure",
		"oldStdWoName",
		"noticeperson",
		"isDefect",
		"clearDate",
		"finishTime",
		"validateUserName",
		"validateTime",
		"evaluateDesc",
		"wtWorkTktInv"
	]
	// 可编辑字段
	let editData = [
		"app_base"
	]
	
	let baseData = {
		disableData: disableData,
		editData: editData
	}
	
	return baseData
}
